﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/FrontPage.Master" Inherits="System.Web.Mvc.ViewPage<ZXCompany.Models.Entity.ZX_HomePageImage>" %>
<%@import Namespace="ZXCompany.Models.Entity" %>
<%@import Namespace="System.Collections.Generic" %>
<asp:Content ID="Content1" ContentPlaceHolderID="CP_Content" runat="server">
<div editok="online" id="com_othermenu" class="othermenu">
<div class="clear"></div>
<div id="com_thenm_banner" class="i_banner mauto">
<%  List<ZXCompany.Models.Entity.ZX_HomePageImage> lzhpi=(List<ZXCompany.Models.Entity.ZX_HomePageImage>)ViewData["HomePageImage"]; %>
<% 
    string strspan = "";
    string stra = "";
    for (int i = 0; i < lzhpi.Count; i++)
   {
       strspan += "<span id=dd" + (i + 1).ToString() + " class='new_span'>" + (i + 1).ToString() + "</span>";
       stra += "<a style='display: block; opacity: 0.582093;' href='" + lzhpi[i].imageHref + "'><img src='" + lzhpi[i].imageUrl + "'></a>";
   }
%>

    <div class="nums">
        <%--<span id="dd1" class="new_span">1</span>
        <span id="dd2" class="">2</span>
        <span id="dd3" class="">3</span>--%>
        <%=strspan %>
    </div>
    <div class="i_banner_view">
    <%=stra %>
        <%--<a style="display: block; opacity: 0.582093;" href="#"><img src="../../Content/frontImages/banner.jpg"></a>
        <a style="display: none;" href="#"><img src="../../Content/frontImages/banner1.jpg"></a>
        <a style="display: none;" href="#"><img src="../../Content/images/banner2.jpg"></a>--%>
    </div>
</div>
<div class="clear"></div>
</div>

</asp:Content>
